
//导入service对象
import service from "../utils/request";

//一个接口封装一个函数


// 插入轮播图数据
// export function banner_add(payload = {}) {
//     return service.post('/banner/add', payload)
// }
//查看销售量TOP5实物商品
export function shuju_wuping(payload = {}) {
    return service.get('/shuju_wuping', { params: payload })
}
//实时访问量统计
export function shuju_liuliang_tongji(payload = {}) {
    return service.get('/shuju_liuliang_tongji', { params: payload })
}
//数据明细
export function shuju_liuliang_mingxi(payload = {}) {
    return service.get('/shuju_liuliang_mingxi', { params: payload })
}
//学习分析
export function shuju_xuexi_qushi(payload = {}) {
    return service.get('/shuju_xuexi_qushi', { params: payload })
}
//实时学习人数统计
export function shuju_xuexi_tongji(payload = {}) {
    return service.get('/shuju_xuexi_tongji', { params: payload })
}

